<?php

class Carousel extends CWidget
{
	public $count;
	public $data;
	public $detailedUrl;
	public $photos = null;
	public $entity = null;
	public $titleDetailes = false;
	public $additionalOptions = array();
	
	public $view = 'carousel';
	
	public function run()
	{
		$this->render($this->view, array(
			'count' => $this->count,
			'data'  => $this->data,
			'detailedUrl' => $this->detailedUrl,
			'photos'=> $this->photos,
			'entity'=> $this->entity,
			'titleDetailes'     => $this->titleDetailes,
			'additionalOptions' => $this->additionalOptions
		));
	}
}